#ifndef WRITER_H
#define WRITER_H

#include <stdlib.h>

class Writer {

public:

	int cursor;
	double absoluteErrorBuffer;
	double relativeErrorBuffer;
	double *absoluteErrors;
	double *relativeErrors;
	
	int goodResults;
	int badResults;

	Writer();
	Writer(int nrIterations);
	void startBuffer();
	void flushBuffer();
	void printResultData();

};

#endif



